home *** CD-ROM | disk | FTP | other *** search
/ Komputer for Alle 2002 #9 / K-CD-9-2002.ISO / JASC After Shot / af100evp.exe / Data1.cab / single.xsl24 < prev    next >
Encoding:
Extensible Markup Language  |  2002-02-11  |  2.0 KB  |  57 lines

  1. <?xml version='1.0'?>
  2. <!-- Copyright (C) 1995-2002 Jasc Software, Inc. and its licensors. -->
  3. <!-- All rights reserved. -->
  4. <xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
  5. <xsl:template match="/">
  6. <HTML>
  7.   <xsl:apply-templates />
  8. </HTML>
  9. </xsl:template>
  10.  
  11. <xsl:template match="photos">       
  12.       <xsl:apply-templates />    
  13. </xsl:template>
  14.  
  15. <xsl:template match="album"> 
  16.     <xsl:apply-templates select="imagelist" />    
  17. </xsl:template>
  18.  
  19. <xsl:template match="imagelist">
  20.    <xsl:apply-templates select="imageinfo" />             
  21.  </xsl:template>
  22.  
  23. <xsl:template match="imageinfo">
  24. <xsl:element name="ixfile"><xsl:attribute name="fname"><xsl:value-of select="html_info/@fname" /></xsl:attribute>
  25. <head>
  26.         
  27.         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
  28.         <meta name="copyright" content="Copyright (C) 1995-2002 Jasc Software, Inc. and its licensors. All rights reserved."/>
  29.         
  30.     </head>
  31.  
  32. <BODY bgcolor="#000000" alink="ff0000" vlink="ff0000" text="#ff0000">
  33. <div align="center"> 
  34.   <table border="5" cellspacing="5" cellpadding="5" bordercolor="#ff0000" bgcolor="ffffff">
  35.     <tr> 
  36.       <td> 
  37.         <div align="center">
  38.           <table border="0" cellspacing="1" cellpadding="1">
  39.             <tr> 
  40.               <td>
  41.                 <div align="center"><font face="Arial, Helvetica, sans-serif" size="4" ><xsl:value-of select="title"/><BR kludge=""/>
  42.                  <img border="2" hspace="20" vspace="10">
  43.                     <xsl:attribute name="src">
  44.                     <xsl:value-of select="@fname" />
  45.                      </xsl:attribute><xsl:attribute name="width"><xsl:value-of select="imagesize/@width"/></xsl:attribute>
  46.                         <xsl:attribute name="height"><xsl:value-of select="imagesize/@height"/></xsl:attribute>
  47.                         <xsl:attribute name="alt"><xsl:value-of select="title"/></xsl:attribute></img><BR kludge=""/><a href="index.htm">Back</a></font></div></td>
  48.             </tr>
  49.           </table></div></td>
  50.     </tr></table></div>
  51. </BODY>
  52. </xsl:element>
  53. </xsl:template>
  54.  
  55.  
  56. </xsl:stylesheet>
  57.